<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page contentType="text/html" pageEncoding="UTF-8" %>
<div class="content">
    <div class="boxTop">
        <div class="boxTopRt"><span></span></div>
    </div>
    <div class="boxMid">
        <div class="boxMidRt">
            <div class="content_top">
                <h2>Please choose a uncompleted Dialog and continue.</h2>
            </div>
            <div class="incontent">
                <div class="inBoxTop">
                    <div class="inBoxTopRt"><span></span></div>
                </div>
                <div class="inBoxMid">
                    <div class="inBoxMidRt">
                        <div class="step_box">
                            <div class="box_active">
                                <div class="boxActiveTop">
                                    <div class="boxActiveTopRt"><span></span></div>
                                </div>
                                <div class="boxActiveMid">


                                    <div class="boxActiveMidRt">
                                        <div class="question_cont ordinal">
                                            <p>
                                                Start a new Dialog.
                                                <a href="<%=request.getContextPath()%>/general/index.html">Go!</a>
                                            </p>

                                            <p>
                                                This is the list of uncompleted dialog instances.
                                            <ul>
                                                <c:forEach items="${dialogs}" var="dialogInstance">
                                                    <li>
                                                        <a href="<%=request.getContextPath()%>/general/restart.html?dialogInstanceId=${dialogInstance.dialogId}">
                                                                ${dialogInstance.questionnaire.name}
                                                            #${dialogInstance.dialogId}
                                                        </a>
                                                    </li>
                                                </c:forEach>
                                            </ul>
                                            </p>
                                        </div>
                                    </div>
                                    <div class="boxActiveBtm">
                                        <div class="boxActiveBtmRt"><span></span></div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="inBoxBtm">
                    <div class="inBoxBtmRt"><span></span></div>
                </div>
            </div>
            <div class="content_btm">
            </div>
        </div>
    </div>
    <div class="boxBtm">
        <div class="boxBtmRt"><span></span></div>
    </div>
</div>